package com.pzhu.service.impl;

import com.pzhu.dao.LoginDao;
import com.pzhu.dao.impl.LoginDaoImpl;
import com.pzhu.pojo.User;
import com.pzhu.service.LoginService;

public class LoginServiceImpl implements LoginService{

	LoginDao ld=new LoginDaoImpl();
	@Override

	public User checkLoginService(String uname, String pwd) {
		return ld.checkLoginDao(uname, pwd);
	}

	public User checkUidLoginService(String uid) {
		return ld.checkUidLoginDao(uid);
	}
}
